package com.wgts.wgts.localbean;

import android.os.Parcel;
import android.os.Parcelable;

public class ShopKeepData implements Parcelable{
    public String userName;
    public String userState;
    public String shopAvatar;
    //邀请码
    public String shopkeeperYQCode;
    public String qCodeUrl;

    public ShopKeepData(){}


    protected ShopKeepData(Parcel in) {
        userName = in.readString();
        userState = in.readString();
        shopAvatar = in.readString();
        shopkeeperYQCode = in.readString();
        qCodeUrl = in.readString();
    }

    public static final Creator<ShopKeepData> CREATOR = new Creator<ShopKeepData>() {
        @Override
        public ShopKeepData createFromParcel(Parcel in) {
            return new ShopKeepData(in);
        }

        @Override
        public ShopKeepData[] newArray(int size) {
            return new ShopKeepData[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(userName);
        dest.writeString(userState);
        dest.writeString(shopAvatar);
        dest.writeString(shopkeeperYQCode);
        dest.writeString(qCodeUrl);
    }
}
